@import '@/assets/css/index.less';

.container {
  .flex-center-start();
  flex-direction: column;
  min-height: 100vh;

  .new-invite{
    display: flex;
    align-items: center;
    margin: 30px;
    padding: 0 30px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: #ff4d4d;
    border-radius: 20px;
    cursor: pointer;

    &:hover {
      background: #fc1944;
    }
  }

  .invite-code-item {
    background: rgba(85,86,102,.04);
    position: relative;
    width: 800px;
    padding: 16px;
    border-radius: 8px;
    transition: all 50ms ease-in-out;
    margin-bottom: 15px;

    .invite-code{
      color: #000;
      font-size: 24px;
      font-weight: bold;
      letter-spacing: 1px;
    }
    
    .invite-code-close{
      color: #ccc;
      font-size: 20px;
      padding: 5px;
      cursor: pointer;
    }

    .invite-tip{
      color: #6a6a6f;
      font-size: 12px;
      letter-spacing: 1px;
      margin-top: 10px;

      .i-enabled{
        color: #6b5;
        font-size: 12px;
        background: rgba(103,187,85,.1);
        margin-left: 8px;
        border-radius: 2px;
        padding: 2px 4px;
      }

      .i-disabled{
        background: #e9e9e9;
        margin-left: 8px;
        border-radius: 2px;
        font-size: 12px;
        color: #c6c6c6;
        padding: 2px 4px;
      }
    }

    .right-btn{
      position: absolute;
      right:0;
      top: 0;
      bottom: 0;
      .flex-center-center();
      flex-direction: column;

      .invite-btn{
        color: #666666;
        text-align: center;
        border: 1px solid #aaaaaa;
        cursor: pointer;
        padding: 3px 22px;
        border-radius: 3px;
        font-size: 12px;
        margin-right: 12px;

        &:hover, &:active{
          color: #353535;
          border: 1px solid #353535;
        }
      }
    }
  }
}

// 新增邀请码弹框
.edit-menu-dialog-box{
  .el-input-box{
    margin-bottom: 10px;
  }
}

// 添加菜单弹框
.add-menu-dialog-footer{
  
  .el-button{
      width: 200px;
  }
}